package part1.q3;
/**
 * 猫狗的父类
 * @author Tommy
 *
 */
public class Pet {
	private String type;  // 类型
	public Pet(String type) {
		this.type = type;
	}
	public String getType() {
		return this.type;
	}
	
}
